package com.cdck.safe.dete.model.entity;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cdck.safe.dete.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * (Booking)实体类
 *
 * @author wp
 * @since 2024-02-25 16:43:26
 */
@Data
public class Booking extends BaseEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 预约人
     */
    private Long userId;
    /**
     * 座位id
     */
    private Long labId;
    /**
     * 座位id
     */
    private Long seatId;

    /**
     * 逻辑删除
     */
    private Integer deleted;
    /**
     * 预约开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("开始时间")
    private Date bookStartTime;
    /**
     * 预约结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("结束时间")
    private Date bookEndTime;
    /**
     * 0 待审核 1 驳回 2 通过 3 完成
     */
    private Integer status;
    /**
     * 驳回理由
     */
    private String reason;
    /**
     * 备注
     */
    private String remark;


}

